﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="main.aspx.cs" Inherits="vote.main" %>
<%@ Import Namespace="System.Data" %>
<style type="text/css">
/* ---标准链接样式--- */
/* ---html、body100%--- */
html, body { }
/* ---默认字体9pt--- */
div, table {	font-size: 9pt; }
/* ---div居中、div背景--- */
body {
	text-align: left;
	
	background-color: #ffffff;
	font-size: 9pt;
	color: ##262626;
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
.font12 {
	font-size: 12px;
	color: #000000;
	line-height: 160%;	
}
.font12bold {
	font-size: 12px;
	color: #000000;
	line-height: 160%;
	font-weight:bold;	
}
.graylink A:link, .graylink A:visited  {
	FONT-SIZE:12px;
	line-height:150%;
	COLOR:#333333;
	TEXT-DECORATION:none
}
.graylink A:hover {
	line-height:150%;
	font-size:12px;
	color:#CC0000;
	TEXT-DECORATION: none;
}
</style>
<body bgcolor="transparent">
    <form id="form1" runat="server" target="_blank">
    <div align="center">
        <asp:Repeater ID="Repeater1" runat="server" OnItemDataBound="Repeater1_ItemDataBound" OnItemCommand="Repeater1_ItemCommand">
        
        <ItemTemplate>
            <asp:Label ID="lbId" runat="server" Text='<%# ((DataRowView)Container.DataItem)["id"] %>' Visible="false"></asp:Label>
        
            <asp:Label ID="selMode" runat="server" Text='<%# ((DataRowView)Container.DataItem)["singleMode"] %>'
                Visible="false"></asp:Label>
        <table width="100%" class="font12">
        <tr>
            <td colspan="2" align="left" class="font12bold"><asp:Label ID="lbTitle" runat="server" Text='<%# ((DataRowView)Container.DataItem)["title"] %>'></asp:Label></td>
        </tr>
        <tr>
            <td colspan="2" align="left"><asp:PlaceHolder ID="phOptions" runat="server"></asp:PlaceHolder></td>
        </tr>
        <tr>
            <td colspan="2"><asp:LinkButton ID="lbPoll" CommandName="poll" CommandArgument='<%# ((DataRowView)Container.DataItem)["id"] %>' runat="server"><img src="images/toupiao.gif" border="0"></asp:LinkButton></td>
        </tr>
        </table>
        
        </ItemTemplate>
        </asp:Repeater>
    </div>
    </form>
</body>
